package com.cn.kabalifeuser.ui.integral.bean;

import java.util.List;

/**
 * Created by 晓林 on 2020/9/14.
 * function:
 */
public class DetailsInfoBean {


    /**
     * code : 200
     * result : {"id":3,"title":"商品232","img":["http://oss-fang.xiaoxiucai.xyz/good/1599881521i8goN0.png"],"low_money":11,"height_money":"1.00","integral":1,"content":"<p>12去问问企鹅<\/p>","num":1,"act_title":"","money":"11-1.00+1积分","attr_arr":[{"is_key":"品牌","is_val":"海澜之家"},{"is_key":"面料","is_val":"纯棉"},{"is_key":"风格","is_val":"简约"}],"spec_arr":[{"id":18,"name":"颜色","spec_item":[{"id":45,"spec_id":18,"item":"白色","sort":1,"img":""}]},{"id":19,"name":"尺码","spec_item":[{"id":49,"spec_id":19,"item":"L","sort":1,"img":""}]}],"spec_img":[{"id":3805,"goods_id":3,"type_id":13,"f_key":"18,19","key":"45,49","price":1,"cost_price":"0.00","store_count":1,"sku":"1","spec_img":"http://oss-fang.xiaoxiucai.xyz/good/1599211031DYz92n.png"}]}
     * msg : ok
     */

    private int code;
    private ResultBean result;
    private String msg;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public ResultBean getResult() {
        return result;
    }

    public void setResult(ResultBean result) {
        this.result = result;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public static class ResultBean {
        /**
         * id : 3
         * title : 商品232
         * img : ["http://oss-fang.xiaoxiucai.xyz/good/1599881521i8goN0.png"]
         * low_money : 11
         * height_money : 1.00
         * integral : 1
         * content : <p>12去问问企鹅</p>
         * num : 1
         * act_title :
         * money : 11-1.00+1积分
         * attr_arr : [{"is_key":"品牌","is_val":"海澜之家"},{"is_key":"面料","is_val":"纯棉"},{"is_key":"风格","is_val":"简约"}]
         * spec_arr : [{"id":18,"name":"颜色","spec_item":[{"id":45,"spec_id":18,"item":"白色","sort":1,"img":""}]},{"id":19,"name":"尺码","spec_item":[{"id":49,"spec_id":19,"item":"L","sort":1,"img":""}]}]
         * spec_img : [{"id":3805,"goods_id":3,"type_id":13,"f_key":"18,19","key":"45,49","price":1,"cost_price":"0.00","store_count":1,"sku":"1","spec_img":"http://oss-fang.xiaoxiucai.xyz/good/1599211031DYz92n.png"}]
         */

        private int id;
        private String title;
        private double low_money;
        private String height_money;
        private int integral;
        private String content;
        private int num;
        private String act_title;
        private String money;
        private List<String> img;
        private List<AttrArrBean> attr_arr;
        private List<SpecArrBean> spec_arr;
        private List<SpecImgBean> spec_img;
        private String postage;

        public String getPostage() {
            return postage;
        }

        public void setPostage(String postage) {
            this.postage = postage;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public double getLow_money() {
            return low_money;
        }

        public void setLow_money(double low_money) {
            this.low_money = low_money;
        }

        public String getHeight_money() {
            return height_money;
        }

        public void setHeight_money(String height_money) {
            this.height_money = height_money;
        }

        public int getIntegral() {
            return integral;
        }

        public void setIntegral(int integral) {
            this.integral = integral;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public int getNum() {
            return num;
        }

        public void setNum(int num) {
            this.num = num;
        }

        public String getAct_title() {
            return act_title;
        }

        public void setAct_title(String act_title) {
            this.act_title = act_title;
        }

        public String getMoney() {
            return money;
        }

        public void setMoney(String money) {
            this.money = money;
        }

        public List<String> getImg() {
            return img;
        }

        public void setImg(List<String> img) {
            this.img = img;
        }

        public List<AttrArrBean> getAttr_arr() {
            return attr_arr;
        }

        public void setAttr_arr(List<AttrArrBean> attr_arr) {
            this.attr_arr = attr_arr;
        }

        public List<SpecArrBean> getSpec_arr() {
            return spec_arr;
        }

        public void setSpec_arr(List<SpecArrBean> spec_arr) {
            this.spec_arr = spec_arr;
        }

        public List<SpecImgBean> getSpec_img() {
            return spec_img;
        }

        public void setSpec_img(List<SpecImgBean> spec_img) {
            this.spec_img = spec_img;
        }

        public static class AttrArrBean {
            /**
             * is_key : 品牌
             * is_val : 海澜之家
             */

            private String is_key;
            private String is_val;

            public String getIs_key() {
                return is_key;
            }

            public void setIs_key(String is_key) {
                this.is_key = is_key;
            }

            public String getIs_val() {
                return is_val;
            }

            public void setIs_val(String is_val) {
                this.is_val = is_val;
            }
        }

        public static class SpecArrBean {
            /**
             * id : 18
             * name : 颜色
             * spec_item : [{"id":45,"spec_id":18,"item":"白色","sort":1,"img":""}]
             */

            private int id;
            private String name;
            private List<SpecItemBean> spec_item;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public List<SpecItemBean> getSpec_item() {
                return spec_item;
            }

            public void setSpec_item(List<SpecItemBean> spec_item) {
                this.spec_item = spec_item;
            }

            public static class SpecItemBean {
                /**
                 * id : 45
                 * spec_id : 18
                 * item : 白色
                 * sort : 1
                 * img :
                 */

                private int id;
                private int spec_id;
                private String item;
                private int sort;
                private String img;
                private boolean isCheck = false;

                public boolean isCheck() {
                    return isCheck;
                }

                public void setCheck(boolean check) {
                    isCheck = check;
                }

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }

                public int getSpec_id() {
                    return spec_id;
                }

                public void setSpec_id(int spec_id) {
                    this.spec_id = spec_id;
                }

                public String getItem() {
                    return item;
                }

                public void setItem(String item) {
                    this.item = item;
                }

                public int getSort() {
                    return sort;
                }

                public void setSort(int sort) {
                    this.sort = sort;
                }

                public String getImg() {
                    return img;
                }

                public void setImg(String img) {
                    this.img = img;
                }
            }
        }

        public static class SpecImgBean {
            /**
             * id : 3805
             * goods_id : 3
             * type_id : 13
             * f_key : 18,19
             * key : 45,49
             * price : 1
             * cost_price : 0.00
             * store_count : 1
             * sku : 1
             * spec_img : http://oss-fang.xiaoxiucai.xyz/good/1599211031DYz92n.png
             */

            private int id;
            private int goods_id;
            private int type_id;
            private String f_key;
            private String key;
            private double price;
            private String cost_price;
            private int store_count;
            private String sku;
            private String spec_img;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getGoods_id() {
                return goods_id;
            }

            public void setGoods_id(int goods_id) {
                this.goods_id = goods_id;
            }

            public int getType_id() {
                return type_id;
            }

            public void setType_id(int type_id) {
                this.type_id = type_id;
            }

            public String getF_key() {
                return f_key;
            }

            public void setF_key(String f_key) {
                this.f_key = f_key;
            }

            public String getKey() {
                return key;
            }

            public void setKey(String key) {
                this.key = key;
            }

            public double getPrice() {
                return price;
            }

            public void setPrice(double price) {
                this.price = price;
            }

            public String getCost_price() {
                return cost_price;
            }

            public void setCost_price(String cost_price) {
                this.cost_price = cost_price;
            }

            public int getStore_count() {
                return store_count;
            }

            public void setStore_count(int store_count) {
                this.store_count = store_count;
            }

            public String getSku() {
                return sku;
            }

            public void setSku(String sku) {
                this.sku = sku;
            }

            public String getSpec_img() {
                return spec_img;
            }

            public void setSpec_img(String spec_img) {
                this.spec_img = spec_img;
            }
        }
    }
}
